package yuqueHandler

import (
	_ "log"
	"yuqueDownloader/util"
)

// <h[1-7]>
type HHandler struct {
	SuperHandler
}

func (this *HHandler) preHandle() {
	// log.Println("HHandler preHandle....", this.Node)
	wellSigns := util.GenWellSigns(this.Toc.Level - this.Toc.Idx)
	*this.Content += wellSigns + " "
}

func (this *HHandler) postHandle() {
	*this.Content += "\n"
}
